import request from '@/router/axios';

//专家模块列表
export const getModelList = (current, size, params) => {
  return request({
    url: '/api/blade-expert/expertModel/list',
    method: 'get',
    params: {
      ...params
    }
  })
}
//新增专家模块
export const addModelItem = (row) => {
  return request({
    url: '/api/blade-expert/expertModel/submit',
    method: 'post',
    data: row
  })
}
//新增专家模块
export const updateModelItem = (row) => {
  return request({
    url: '/api/blade-expert/expertModel/submit',
    method: 'post',
    data: row
  })
}
//删除专家模块
export const deleteModelItem = (ids) => {
  return request({
    url: '/api/blade-expert/expertModel/remove',
    method: 'post',
    params: {
      ids
    }
  })
}

